package com.tuyan.aixiang.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class YsDevice implements Serializable {


    private String tag;

    private Integer type;

    private String verifyCode;

    // ap ssid
    private String ssid;

    // ap password
    private String password;

    // 摄像头
    private String rtmpUrl;

    // 萤石 字段 👇
    private String displayName;

    private String fullSerial;

    private String defaultPicPath;

    // 接口字段👇

    @SerializedName("dr_validate_code")
    private String validateCode;

    @SerializedName("dr_device_serial")
    private String deviceSerial;

    @SerializedName("dr_device_nature")
    private int deviceNature;

    @SerializedName("dr_model")
    private String model; // CAMERA   ALARM

    @SerializedName("dr_model_type")
    private String modelType; // 型号

    @SerializedName("dr_device_name")
    private String deviceName; //设备名称

    @SerializedName("dr_id")
    private Integer id;

    @SerializedName("dr_ys_device_id")
    private String ysDeviceId;

    @SerializedName("dr_user_id")
    private Integer userId;

    @SerializedName("dr_pic_url")
    private String devicePicUrl;

    // 通道号? cameraNo
    @SerializedName("dr_channel_num")
    private Integer channelNo;

    @SerializedName("dr_defence")
    private Integer defence; // 1 on  0 off

    @SerializedName("dr_is_encrypt")
    private Integer encrypted; //

    @SerializedName("dr_online_status")
    private Integer onlineStatus;  // 1 在线

    @SerializedName("dr_dynamic")
    private Integer dynamic;     // 0 正常  1 注册  2 3 注册失败
}
